/*============================
*	File Name: main.c
*	Created Date: 12/16/2021 5:16:26 PM
*	Last Modified Date:12/16/2021 11:15:49 PM
*	Author: mistgc
*	Email: georgecai0908@outlook.com
============================*/
#include <stdio.h>
#include "Pet.h"
#include "Dog.h"

int main(){
	Dog dog1, dog2;

	Dog_ctor(&dog1, "来福", 1);		//白色
	Dog_ctor(&dog2, "煤球", 2);		//黑色

	printf("%s: %s\n", Pet_getName(&dog1.super), Dog_getColor(&dog1));
	printf("%s: %s\n", Pet_getName(&dog2.super), Dog_getColor(&dog2));

	return 0;
}
